package com.haoqi.document.template.job;

import com.haoqi.document.template.repository.FileExportTaskRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
@ConditionalOnProperty(name = "constant.taskOnline", havingValue = "true")
public class FileExportTaskScheduling {

    @Autowired
    private FileExportTaskRepository fileExportTaskRepository;

    @Scheduled(cron = "${constant.taskCron}")
    public void fileExportTaskProcess() {


    }
}